home *** CD-ROM | disk | FTP | other *** search
/ Champak 114 / Vol 114.iso / games / ophel001.swf / scripts / DefineButton2_985 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2010-08-12  |  591 b   |  27 lines

  1. on(release){
  2.    loadVariablesNum("/arcane/tracking/tracking.html?episode=7&stage=11",0);
  3.    if(eval("/Variables:PersoPres") == 2)
  4.    {
  5.       set("/Variables:VaVers01","Statue2");
  6.       tellTarget(Gregor)
  7.       {
  8.          gotoAndStop("MarcheFace");
  9.          play();
  10.       }
  11.       tellTarget(Prescott)
  12.       {
  13.          gotoAndStop("MarcheFace");
  14.          play();
  15.       }
  16.    }
  17.    if(eval("/Variables:PersoPres") == 1)
  18.    {
  19.       set("/Variables:VaVers01","Statue1");
  20.       tellTarget(Gregor)
  21.       {
  22.          gotoAndStop("MarcheFace");
  23.          play();
  24.       }
  25.    }
  26. }
  27.